From: Luca BRUNO Date: Mon, 16 Nov 2020 17:08:52 +0000 (+0000) Subject: workflows/release: pattern-match on PR title X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~6^2~1^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ee57fe2821b4c0c5aedfa9a47d5ef89d6c0e0350;p=ostree.git workflows/release: pattern-match on PR title This adds an additional condition in order to run sanity check all PRs starting with `Release` (case-insensitive). --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7189a976..b2cf3f5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,15 +1,14 @@ --- -name: Release sanity +name: Release on: pull_request: branches: [master] - types: [labeled] jobs: ci-release-build: name: "Sanity check release commits" - if: ${{ github.event.label.name == 'kind/release' }} + if: ${{ github.event.label.name == 'kind/release' || startsWith(github.event.pull_request.title, 'Release') }} runs-on: ubuntu-latest steps: - name: Clone repository